﻿'use strict';
app.controller('PackRunningController', function ($rootScope, $scope, $modal, $localStorage, ManagerPackFactory) {
    $scope.runings = [],
    Running();
    function Running() {
        ManagerPackFactory.getPackRuning($localStorage.user.UserId).then(function (response) {
            $scope.runings = response.data;
        }, function (error) {
            $scope.status = 'Unable to load Running data: ' + error.message;
        });
    };
})